package lab02.test25;
import java.util.*;
public class Test25 {
    public static void main(String[] args) {
        System.out.println("Please input two numbers:");
        Scanner scanner = new Scanner(System.in);
         int number1 = scanner.nextInt();
         int number2 = scanner.nextInt();

         try{
           double  num = number1/number2;
         }
         catch (ArithmeticException e){
             System.out.println("0不能做除数！");
         }
    }
}
